import java.util.*;
public class HumanPlayer extends Player{
        private Scanner input; 
        public HumanPlayer(String name, Pieces who, int pieces_num){
                super(name, who, pieces_num);
                input = new Scanner(System.in);
        }
        public boolean getNextStep(Action act, Board board){
                int x , y;
                act.player = this;
                if(act.status == GameStatus.GAME_SET){
                        act.src_pos = src_pos;
                        return true;
                }else if(act.status == GameStatus.GAME_KILL){
                        act.src_pos = src_pos;
                        return true;
                }else if(act.status == GameStatus.GAME_MOVE){
                        if(board.noMoves(who)){
                                return false;
                        }
                        act.src_pos = src_pos;
                        act.dst_pos = dst_pos;
                        return true;
                }else if(act.status == GameStatus.GAME_SET_LAST){
                        return true;
                }
                return false;
        }
        public boolean setNextStep(Action act, Board board){
                return false;
        }
}
